package com.wn.mapper;

import com.wn.common.pojo.TravelAngency;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TravelAngencyMapper {
    int deleteByPrimaryKey(Integer travelId);

    int insert(TravelAngency record);

    int insertSelective(TravelAngency record);

    TravelAngency selectByPrimaryKey(Integer travelId);

    int updateByPrimaryKeySelective(TravelAngency record);

    int updateByPrimaryKey(TravelAngency record);

    List<TravelAngency> selectAll();


    //高级检索的方法
    public List<TravelAngency> superSearch(String superSearchKeyWord);

    int updateNewsinfo(@Param("travelId") Integer travelId,@Param("status") String status);
}
